<template>
	<view>
		<view>
			<input type="text" placeholder="请输入简历来源名称" v-model="name" class="ipt-source">
		</view>
		<view class="btn-confirm" @tap="handleClickConfirm">确定</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				name:"",
			}
		},
		methods:{
			handleClickConfirm(){
				if(this.name == ""){
					uni.showModal({
					    title: '提示',
					    content: '请输入内容',
					    // success: function (res) {
					    //     if (res.confirm) {
					    //         // console.log('用户点击确定');
					    //     } else if (res.cancel) {
					    //         // console.log('用户点击取消');
					    //     }
					    // }
					});
					return false;
				}
				// console.log(this.name)
				uni.navigateTo({
				    url:'/pages/work_bench/resumeSource_manage'
				});
			}
		}
	}
</script>

<style scoped lang="stylus">
	.ipt-source{
		height:110upx;
		background:#fff;
		padding:0 40upx;
		font-size:32upx;
	}
	.btn-confirm{
		height:76upx;
		width:440upx;
		background:linear-gradient(270deg,rgba(0,106,231,1) 0%,rgba(66,157,255,1) 100%);
		color:#fff;
		font-size:32upx;
		text-align:center;
		line-height:76upx;
		margin:80upx auto;
	}
</style>
